<template>
    <div class="sysm-b-modu boxsi ml50 mr50" :style="'height: '+viewHeight+'px;'">
        <div class="sysm-bmodu-box">
            <div class="pl24 pr24 h100p">
                <div class="page-show-box">
                    <div class="zfba-submit-box text-ac">
                        <p class="zfba-sbox-top text-ac state-true">你已登记成功</p>
                        <p class="zfba-sbox-bom text-ac">{{countDown}}s后返回首页</p>

                        <a href="javascript:;" class="sysm-brbbom-btn true-obj mt50"  @click="toRouter('zd')">返回首页</a>
                    </div>
                </div>
            </div>
        </div>

    </div>
</template>

<script>
export default {
    data(){
        return {
            selzfListState : false, //显示选择疑犯弹窗
			countDown:5,
            viewHeight : 504
        }
    },
    methods:{
        toRouter(o){
            this.vtp.toRouter(this,o);
        }
    },
    created(){
        let _this=this;
        window.setInterval(function(){
            _this.countDown--;
            if(_this.countDown==0){
                _this.toRouter('zd');
            }
        },1000)
    },
    mounted(){
        this.viewHeight = this.vtp.winHei(166);
        window.onresize = function(){
            let pageHeiVal = tipLayout.winHei()-166;
            $('.sysm-b-modu').height(pageHeiVal);
        }
    }
}
</script>

<style>

</style>